<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="http://localhost/themes/admin/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<link href="http://localhost/themes/admin/css/admin.css" type="text/css" rel="stylesheet" />
<script src="http://localhost/assets/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="http://localhost/themes/admin/js/jquery.form.js" type="text/javascript"></script>
<link id="artDialog-skin" href="http://localhost/assets/js/dialog/skins/default.css" rel="stylesheet" />
<script src="http://localhost/assets/js/dialog/artDialog_default.js" type="text/javascript"></script>
<script>
var jq=jQuery.noConflict();
jq(function(){
	jq(".delete_tag").click(function(){
		var target=jq(this);
		art.dialog({title:'消息提示',content:"您确定删除该分类吗？",ok:function(){
			window.location.href=target.attr("url");
			return true;
		},cancel:function(){},okValue:'确定',cancelValue:'取消'});
		return false;
	});
});
function submit1()
{
	c1 = jq('#Query_Name_Like_String')[0];
	c2 = jq('#Query_Url_Like_String')[0];

	form1 = jq('#form1')[0];
	form1.method='post';
	
	if(c1.value==''&&c2.value=='')
		form1.action = '<?php echo site_url('admin/SetPayTypeList/-1')?>';
	else
		form1.action = '<?php echo site_url('admin/SetPayTypeList/')?>';
		
	form1.submit();
	//alert();
}
</script>
<title>付款方式列表</title>
</head>

<body>
	<div class="tablebox_header">   
		<form action="" method="post" accept-charset="utf-8" class="form-search pull-right" Id="form1">
		<?php 
		//$attributes = array('class' => 'form-search pull-right','Id'=>'form1');
		//echo form_open('', $attributes);
			echo form_input('Query_Name_Like_String', set_value('Query_Name_Like_String'),"class='input-medium search-query' placeholder='付款方式' id='Query_Name_Like_String' ");
			echo form_input('Query_Url_Like_String', set_value('Query_Url_Like_String'),"class='input-medium search-query' placeholder='网址' id='Query_Url_Like_String' ");
			?>
			<button type="button" class="btn" onclick="submit1()">搜索</button>
		</form>
		<div class="pull-left"></div>
	</div>
	<div class="tablebox">
		<?php echo $table;?>
	</div>
	<?php echo $this->pagination->create_links();?>
</body>
</html>